<?php

if ($session->check('Message.auth')) $session->flash('auth');

$codigoHtml = array();
$codigoHtml[] = $form->create(  'User', array('url' => array(   'controller' => 'users', 
                                'action' =>'login')));
                                                                                                  
$codigoHtml[] = $form->input('username', array('label' => 'User', 'class' => 'text'));

$codigoHtml[] = $form->input('password', array('label' => 'Password', 'class' => 'text'));

$codigoHtml[] = $form->end('Login');

echo implode("\n", $codigoHtml);

?>